﻿// AtlObject.cpp: CAtlObject 的实现

#include "pch.h"
#include "AtlObject.h"
#include <stdio.h>
#include <tchar.h>

// CAtlObject

STDMETHODIMP CAtlObject::Test()
{
    CComAggObject<CAtlObject>* lpObject;
    CComAggObject<CAtlObject>::CreateInstance(this, &lpObject);

    CComPolyObject<CAtlObject>* lpObject2;
    CComPolyObject<CAtlObject>::CreateInstance(this, &lpObject2);

    return S_OK;
}
